//
//  JYTTabBarItem.m
//  JYT_IOS
//
//  Created by nxa-tankeke on 16/12/14.
//  Copyright © 2016年 nxa-yuanguoxiang. All rights reserved.
//

#import "JYTTabBarItem.h"

@implementation JYTTabBarItem

- (instancetype)initWithDic:(NSDictionary *)dic
{
    self = [super init];
    
    if (self) {
        self.image = [self toString:dic[@"image"]];
        self.selectedImage = [self toString:dic[@"selectedImage"]];
        self.index = [self toInteger:dic[@"index"]];
        self.badgeValue = [self toString:dic[@"badgeValue"]];
    }
    
    return self;
}

@end
